<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			// 1.让女朋友输入节日
			var holidayName = prompt("输入今天的节日");
			
			// 2.判断不同节日,执行不同的代码
			if(holidayName === "情人节"){
				console.log("买玫瑰");
				console.log("看电影");
			}else if(holidayName === "平安夜"){
				console.log("买苹果");
				console.log("吃大餐");
			}else if(holidayName === "生日会"){
				console.log("买蛋糕");
				console.log("开Party");
			}else{
				console.log("上班");
				console.log("工作");
				console.log("喝西北风");
			}
			
			
		</script>
	</body>
</html>
